﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Admin_KeyMg.aspx.cs" Inherits="QiCms.Web.Admin.Admin_KeyMg" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="QBSCmsContentPlaceHolder" runat="server">
<form id="TableForm" runat="server">
    <asp:Panel ID="AddPH" runat="server">
        <div class="tpl-content-wrapper">
            <ol class="am-breadcrumb">
            <li><a href="Index.aspx" class="am-icon-home">首页</a></li>
            <li><a href="Admin_Key.aspx">关键字管理</a></li>
            <li class="am-active">添加关键字</li>
            </ol>
            <div class="tpl-portlet-components">
                <div class="am-g tpl-amazeui-form">
                    <div class="am-form am-form-horizontal">
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">关键字：</label>
                            <div class="am-u-sm-9">
                                <input name="KeyNameTxt" type="text" id="KeyNameTxt" placeholder="关键字" maxlength="255" runat="server">
                                <asp:RegularExpressionValidator ID="KeyNameValRE" runat="server" ErrorMessage="关键字首字符不能为数字" Display="Dynamic"></asp:RegularExpressionValidator>
                                <asp:RequiredFieldValidator ID="KeyNameValR" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">链接：</label>
                            <div class="am-u-sm-9">
                                <input name="KeyUrlTxt" type="text" id="KeyUrlTxt" placeholder="http://" maxlength="255" runat="server">
                                <asp:RegularExpressionValidator ID="KeyUrlValRE" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RegularExpressionValidator>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">说明：</label>
                            <div class="am-u-sm-9">
                                <input name="KeyAltTxt" type="text" id="KeyAltTxt" placeholder="关键字的说明" maxlength="255" runat="server">
                            </div>
                        </div>
                        <div class="am-text-danger" style="font-size:12px;margin-top: 10px; width: 100%; text-align: center">
				        注意：相同关键字将被替换
			            </div>
                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <asp:Button ID="KeyAddBtn" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success" runat="server" OnClick="KeyAddBtn_Click" Text="添加"/>
                            </div>
                        </div>

                    </div>

                    <p>&nbsp;</p>
                </div>
            </div>
        </div>
    </asp:Panel>
    <asp:Panel ID="EditPH" runat="server">
        <div class="tpl-content-wrapper">
            <ol class="am-breadcrumb">
            <li><a href="Index.aspx" class="am-icon-home">首页</a></li>
            <li><a href="Admin_Key.aspx">关键字管理</a></li>
            <li class="am-active">编辑关键字</li>
            </ol>
            <div class="tpl-portlet-components">
                <div class="am-g tpl-amazeui-form">
                    <div class="am-form am-form-horizontal">
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">关键字：</label>
                            <div class="am-u-sm-9">
                                <input name="KeyNameTxtEdit" type="text" id="KeyNameTxtEdit" placeholder="关键字" maxlength="255" runat="server">
                                <asp:RegularExpressionValidator ID="KeyNameValREEdit" runat="server" ErrorMessage="关键字首字符不能为数字" Display="Dynamic"></asp:RegularExpressionValidator>
                                <asp:RequiredFieldValidator ID="KeyNameValREdit" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">链接：</label>
                            <div class="am-u-sm-9">
                                <input name="KeyUrlTxtEdit" type="text" id="KeyUrlTxtEdit" placeholder="http://" maxlength="255" runat="server">
                                <asp:RegularExpressionValidator ID="KeyUrlValREEdit" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RegularExpressionValidator>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">说明：</label>
                            <div class="am-u-sm-9">
                                <input name="KeyAltTxtEdit" type="text" id="KeyAltTxtEdit" placeholder="关键字的说明" maxlength="255" runat="server">
                            </div>
                        </div>
                        <div class="am-text-danger" style="font-size:12px;margin-top: 10px; width: 100%; text-align: center">
				        注意：相同关键字将被替换
			            </div>
                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <asp:Button ID="KeyEditBtn" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success" runat="server" OnClick="KeyEditBtn_Click" Text="修改"/>
                            </div>
                        </div>

                    </div>

                    <p>&nbsp;</p>
                </div>
            </div>
        </div>
    </asp:Panel>
</form>
</asp:Content>
